package main

import (
	"genertApi/auto"
	"genertApi/db"
	"github.com/spf13/cobra"
)

var (
	rootCmd = &cobra.Command{
		Use:          "up",
		Short:        "up",
		Long:         "up",
		SilenceUsage: true,
	}
)

func init() {
	rootCmd.AddCommand(auto.UriRequestCmd)
	rootCmd.AddCommand(db.MigrateCmd)
	rootCmd.AddCommand(db.BackCmd)
}

func main() {
	_ = rootCmd.Execute()
}
